package com.testsw.order.pojo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import javax.persistence.*;
import java.io.Serializable;

/****
 * @Author:shenkunlin
 * @Description:Reporttable构建
 * @Date 2019/6/14 19:13
 *****/
@ApiModel(description = "Reporttable",value = "Reporttable")
@Table(name="reporttable")
public class Reporttable implements Serializable{

	@ApiModelProperty(value = "姓名",required = false)
    @Column(name = "name")
	private String name;//姓名

	@ApiModelProperty(value = "性别",required = false)
    @Column(name = "sex")
	private String sex;//性别

	@ApiModelProperty(value = "年龄",required = false)
    @Column(name = "age")
	private Integer age;//年龄

	@ApiModelProperty(value = "",required = false)
	@Id
    @GeneratedValue(strategy = GenerationType.IDENTITY)
    @Column(name = "id")
	private Integer id;//



	//get方法
	public String getName() {
		return name;
	}

	//set方法
	public void setName(String name) {
		this.name = name;
	}
	//get方法
	public String getSex() {
		return sex;
	}

	//set方法
	public void setSex(String sex) {
		this.sex = sex;
	}
	//get方法
	public Integer getAge() {
		return age;
	}

	//set方法
	public void setAge(Integer age) {
		this.age = age;
	}
	//get方法
	public Integer getId() {
		return id;
	}

	//set方法
	public void setId(Integer id) {
		this.id = id;
	}


}
